import request from "@/uview-ui/libs/request/index.js";

// 自动登录校验
export function wxCode(data){
	return request.post("/addons/fastim/api.user/wechatAutologin",data)
}

// 手机号登录
export function login(data){
	return request.post("/addons/fastim/api.user/loginByWechatPhone",data)
}

// 获取验证码 
export function sendCode(data){
	return request.post("/api/sms/send",data)
}

// 身份选择 会员
export function userAppleMember(){
	return request.get("/addons/fastim/api.user/appleMember")
}
// 身份选择 护航员
export function userDoctor(){
	return request.get("/addons/fastim/api.user/doctor")
}
// 护航员资格提交
export function appleDoctor(data){
	return request.post("/addons/fastim/api.user/appleDoctor",data)
}

// 用户协议 
export function userAgreement(){
	return request.get("/addons/fastim/api.index/userAgreement")
}
// 隐私协议 
export function privacyAgreement(){
	return request.get("/addons/fastim/api.index/privacyAgreement")
}